home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 43
/
Amiga Format CD43 (1999)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1999-09].iso
/
-serious-
/
comms
/
other
/
magicfile
/
example-configs
/
testfile.cfg
< prev
next >
Wrap
Text File
|
1999-06-14
|
1KB
|
54 lines
.LHA
c:LHA -m -M -N -Qa t
all files OK.
failed
.DMS
c:DMS Test
is OK!
Fatal Error!
.ZIP
c:UnZip -t -C -o
No errors
FAILED
.LZX
c:Lzx -m -f t
all files OK
file(s) BAD ]
.LZH
c:LHA -m -M -N -Qa t
all files OK.
failed
#
^- Very important, don't remove the hash, it's the symbol used to
indicate when to stop reading the details.
[ This file is only compatible with MagicFile 3.0+ ]
How to use this file
-=-=-=-=-=-=-=-=-=-=
This file is for the testing of files in MagicFile.
(Note: If you do not have an archiver, please delete it in the list above
otherwise you will create a nice problem for yourself)
Adding an archive type
-=-=-=-=-=-=-=-=-=-=-=
Each archive type is split up into four parts:
1. The extension the archiver uses (e.g. '.lha').
2. The command line to execute the archiver in test mode.
3. A piece of text the archiver reports when all files are OK.
4. A piece of text the archiver reports when a file is bad.
Remember! The archiver must NEVER:
1. Prompt for user input
2. Display auto-show files
3. Display LOTS of clever control codes that may cause problems
4. Crash ;)
For 1-3 most archivers have modifiers to turn these off, you must enable these
modifers. If #4 happens, delete the archiver!